home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / business / lm150cd.zip / B.BAT < prev    next >
DOS Batch File  |  1994-01-13  |  2KB  |  56 lines

  1. echo off
  2. cls
  3. if not exist lmloan.d00   goto fail1
  4. if not exist lmtran.d00   goto fail1
  5. if not exist lmparm.d00   goto fail1
  6. if not exist lmaccrue.blk   goto fail1
  7. if not exist lmtaccr.blk    goto fail1
  8. if not exist cicust.d00    goto fail1
  9. if not exist ciaddr.d00    goto fail1
  10. if not exist ciphone.d00    goto fail1
  11. if not exist ciaddr.d00    goto fail1
  12. if not exist ciremind.d00    goto fail1
  13. echo.
  14. echo.
  15. echo.   ┌─────────────────────────────────────────────────────────────────┐
  16. echo.   │   This procedure will replace all loan data files with          │
  17. echo.   │   NEW, test data. All old loan data will be lost.               │
  18. echo.   │   The existing parameter file will be replaced.                 │
  19. echo.   │                                                                 │
  20. echo.   │   Existing customer data will be replaced.                      │
  21. echo.   │                                                                 │
  22. echo.   │                                                                 │
  23. echo.   │                           PRESS Ctrl+C to abort this process.   │
  24. echo.   └─────────────────────────────────────────────────────────────────┘
  25. echo.
  26. echo.
  27. echo.
  28. pause
  29. copy lmloan.d00  lmloan.dbf
  30. copy lmtran.d00  lmtran.dbf
  31. copy lmparm.d00  lmparm.dbf
  32. copy lmaccrue.blk lmaccrue.dbf
  33. copy lmtaccr.blk  lmtaccr.dbf
  34. copy ciremind.d00 ciremind.dbf
  35. copy ciaddr.d00 ciaddr.dbf
  36. copy ciphone.d00 ciphone.dbf
  37. copy cicust.d00 cicust.dbf
  38. del *.ntx
  39. goto end
  40. :fail1
  41. cls
  42. echo.
  43. echo.      ┌────────────────────────────────────────────────────────────────┐
  44. echo.      │  The requested sample loan data files are not present.         │
  45. echo.      │                                                                │
  46. echo.      │                                                                │
  47. echo.      │                   Has the system been installed properly?      │
  48. echo.      └────────────────────────────────────────────────────────────────┘
  49. echo.
  50. echo.
  51. pause
  52. :end
  53. testmenu
  54.  
  55.  
  56.